@import "base.less";

.flex {
  display: flex;
}

.flex-c {
  align-items: center;
  justify-content: center
}

.flex-1 {
  flex: 1;
}

.flex-2 {
  flex: 2
}

.ai-c {
  align-items: center
}

.ai-s {
  align-items: flex-start
}

.ai-e {
  align-items: flex-end
}

.jc-c {
  justify-content: center
}

.jc-s {
  justify-content: flex-start
}

.jc-e {
  justify-content: flex-end
}

.jc-b {
  justify-content: space-between
}

.mb-10 {
  margin-bottom: 10px;
}

.page {

  background-color: #f7f7f7;

  &.breed-slide-enter-active,
  &.breed-slide-leave-active {
    transition: all 0.3s
  }

  &.breed-slide-enter,
  &.breed-slide-leave-to {
    transform: translate3d(100%, 0, 0)
  }
}

.content-wrapper {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 20px 0;

  .content-item {
    flex: 1;
    text-align: center;

    .content-item-title {
      font-size: 12px;
      color: #323232;
      margin-top: 10px;
    }

    .content-item-value {
      display: flex;
      align-items: baseline;
      justify-content: center;
      font-size: 22px;
      color: #323232;
      font-weight: bold;

      .unit {
        font-size: 12px;
        margin-left: 2px;
      }

      &.loss {
        color: #43c07d !important;
      }

      &.income {
        color: #f53f3f !important;
      }
    }
  }
}